package com.ihrm.domain.employee;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EmployeeResignationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EmployeeResignationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andResignationTimeIsNull() {
            addCriterion("resignation_time is null");
            return (Criteria) this;
        }

        public Criteria andResignationTimeIsNotNull() {
            addCriterion("resignation_time is not null");
            return (Criteria) this;
        }

        public Criteria andResignationTimeEqualTo(String value) {
            addCriterion("resignation_time =", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeNotEqualTo(String value) {
            addCriterion("resignation_time <>", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeGreaterThan(String value) {
            addCriterion("resignation_time >", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeGreaterThanOrEqualTo(String value) {
            addCriterion("resignation_time >=", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeLessThan(String value) {
            addCriterion("resignation_time <", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeLessThanOrEqualTo(String value) {
            addCriterion("resignation_time <=", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeLike(String value) {
            addCriterion("resignation_time like", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeNotLike(String value) {
            addCriterion("resignation_time not like", value, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeIn(List<String> values) {
            addCriterion("resignation_time in", values, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeNotIn(List<String> values) {
            addCriterion("resignation_time not in", values, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeBetween(String value1, String value2) {
            addCriterion("resignation_time between", value1, value2, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andResignationTimeNotBetween(String value1, String value2) {
            addCriterion("resignation_time not between", value1, value2, "resignationTime");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverIsNull() {
            addCriterion("type_of_turnover is null");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverIsNotNull() {
            addCriterion("type_of_turnover is not null");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverEqualTo(String value) {
            addCriterion("type_of_turnover =", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverNotEqualTo(String value) {
            addCriterion("type_of_turnover <>", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverGreaterThan(String value) {
            addCriterion("type_of_turnover >", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverGreaterThanOrEqualTo(String value) {
            addCriterion("type_of_turnover >=", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverLessThan(String value) {
            addCriterion("type_of_turnover <", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverLessThanOrEqualTo(String value) {
            addCriterion("type_of_turnover <=", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverLike(String value) {
            addCriterion("type_of_turnover like", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverNotLike(String value) {
            addCriterion("type_of_turnover not like", value, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverIn(List<String> values) {
            addCriterion("type_of_turnover in", values, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverNotIn(List<String> values) {
            addCriterion("type_of_turnover not in", values, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverBetween(String value1, String value2) {
            addCriterion("type_of_turnover between", value1, value2, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andTypeOfTurnoverNotBetween(String value1, String value2) {
            addCriterion("type_of_turnover not between", value1, value2, "typeOfTurnover");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingIsNull() {
            addCriterion("reasons_for_leaving is null");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingIsNotNull() {
            addCriterion("reasons_for_leaving is not null");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingEqualTo(String value) {
            addCriterion("reasons_for_leaving =", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingNotEqualTo(String value) {
            addCriterion("reasons_for_leaving <>", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingGreaterThan(String value) {
            addCriterion("reasons_for_leaving >", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingGreaterThanOrEqualTo(String value) {
            addCriterion("reasons_for_leaving >=", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingLessThan(String value) {
            addCriterion("reasons_for_leaving <", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingLessThanOrEqualTo(String value) {
            addCriterion("reasons_for_leaving <=", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingLike(String value) {
            addCriterion("reasons_for_leaving like", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingNotLike(String value) {
            addCriterion("reasons_for_leaving not like", value, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingIn(List<String> values) {
            addCriterion("reasons_for_leaving in", values, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingNotIn(List<String> values) {
            addCriterion("reasons_for_leaving not in", values, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingBetween(String value1, String value2) {
            addCriterion("reasons_for_leaving between", value1, value2, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andReasonsForLeavingNotBetween(String value1, String value2) {
            addCriterion("reasons_for_leaving not between", value1, value2, "reasonsForLeaving");
            return (Criteria) this;
        }

        public Criteria andCompensationIsNull() {
            addCriterion("compensation is null");
            return (Criteria) this;
        }

        public Criteria andCompensationIsNotNull() {
            addCriterion("compensation is not null");
            return (Criteria) this;
        }

        public Criteria andCompensationEqualTo(String value) {
            addCriterion("compensation =", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationNotEqualTo(String value) {
            addCriterion("compensation <>", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationGreaterThan(String value) {
            addCriterion("compensation >", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationGreaterThanOrEqualTo(String value) {
            addCriterion("compensation >=", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationLessThan(String value) {
            addCriterion("compensation <", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationLessThanOrEqualTo(String value) {
            addCriterion("compensation <=", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationLike(String value) {
            addCriterion("compensation like", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationNotLike(String value) {
            addCriterion("compensation not like", value, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationIn(List<String> values) {
            addCriterion("compensation in", values, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationNotIn(List<String> values) {
            addCriterion("compensation not in", values, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationBetween(String value1, String value2) {
            addCriterion("compensation between", value1, value2, "compensation");
            return (Criteria) this;
        }

        public Criteria andCompensationNotBetween(String value1, String value2) {
            addCriterion("compensation not between", value1, value2, "compensation");
            return (Criteria) this;
        }

        public Criteria andNotificationsIsNull() {
            addCriterion("notifications is null");
            return (Criteria) this;
        }

        public Criteria andNotificationsIsNotNull() {
            addCriterion("notifications is not null");
            return (Criteria) this;
        }

        public Criteria andNotificationsEqualTo(String value) {
            addCriterion("notifications =", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsNotEqualTo(String value) {
            addCriterion("notifications <>", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsGreaterThan(String value) {
            addCriterion("notifications >", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsGreaterThanOrEqualTo(String value) {
            addCriterion("notifications >=", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsLessThan(String value) {
            addCriterion("notifications <", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsLessThanOrEqualTo(String value) {
            addCriterion("notifications <=", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsLike(String value) {
            addCriterion("notifications like", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsNotLike(String value) {
            addCriterion("notifications not like", value, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsIn(List<String> values) {
            addCriterion("notifications in", values, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsNotIn(List<String> values) {
            addCriterion("notifications not in", values, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsBetween(String value1, String value2) {
            addCriterion("notifications between", value1, value2, "notifications");
            return (Criteria) this;
        }

        public Criteria andNotificationsNotBetween(String value1, String value2) {
            addCriterion("notifications not between", value1, value2, "notifications");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthIsNull() {
            addCriterion("social_security_reduction_month is null");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthIsNotNull() {
            addCriterion("social_security_reduction_month is not null");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthEqualTo(String value) {
            addCriterion("social_security_reduction_month =", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthNotEqualTo(String value) {
            addCriterion("social_security_reduction_month <>", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthGreaterThan(String value) {
            addCriterion("social_security_reduction_month >", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthGreaterThanOrEqualTo(String value) {
            addCriterion("social_security_reduction_month >=", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthLessThan(String value) {
            addCriterion("social_security_reduction_month <", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthLessThanOrEqualTo(String value) {
            addCriterion("social_security_reduction_month <=", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthLike(String value) {
            addCriterion("social_security_reduction_month like", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthNotLike(String value) {
            addCriterion("social_security_reduction_month not like", value, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthIn(List<String> values) {
            addCriterion("social_security_reduction_month in", values, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthNotIn(List<String> values) {
            addCriterion("social_security_reduction_month not in", values, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthBetween(String value1, String value2) {
            addCriterion("social_security_reduction_month between", value1, value2, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityReductionMonthNotBetween(String value1, String value2) {
            addCriterion("social_security_reduction_month not between", value1, value2, "socialSecurityReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthIsNull() {
            addCriterion("provident_fund_reduction_month is null");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthIsNotNull() {
            addCriterion("provident_fund_reduction_month is not null");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthEqualTo(String value) {
            addCriterion("provident_fund_reduction_month =", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthNotEqualTo(String value) {
            addCriterion("provident_fund_reduction_month <>", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthGreaterThan(String value) {
            addCriterion("provident_fund_reduction_month >", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthGreaterThanOrEqualTo(String value) {
            addCriterion("provident_fund_reduction_month >=", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthLessThan(String value) {
            addCriterion("provident_fund_reduction_month <", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthLessThanOrEqualTo(String value) {
            addCriterion("provident_fund_reduction_month <=", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthLike(String value) {
            addCriterion("provident_fund_reduction_month like", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthNotLike(String value) {
            addCriterion("provident_fund_reduction_month not like", value, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthIn(List<String> values) {
            addCriterion("provident_fund_reduction_month in", values, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthNotIn(List<String> values) {
            addCriterion("provident_fund_reduction_month not in", values, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthBetween(String value1, String value2) {
            addCriterion("provident_fund_reduction_month between", value1, value2, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andProvidentFundReductionMonthNotBetween(String value1, String value2) {
            addCriterion("provident_fund_reduction_month not between", value1, value2, "providentFundReductionMonth");
            return (Criteria) this;
        }

        public Criteria andPictureIsNull() {
            addCriterion("picture is null");
            return (Criteria) this;
        }

        public Criteria andPictureIsNotNull() {
            addCriterion("picture is not null");
            return (Criteria) this;
        }

        public Criteria andPictureEqualTo(String value) {
            addCriterion("picture =", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotEqualTo(String value) {
            addCriterion("picture <>", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThan(String value) {
            addCriterion("picture >", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThanOrEqualTo(String value) {
            addCriterion("picture >=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThan(String value) {
            addCriterion("picture <", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThanOrEqualTo(String value) {
            addCriterion("picture <=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLike(String value) {
            addCriterion("picture like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotLike(String value) {
            addCriterion("picture not like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureIn(List<String> values) {
            addCriterion("picture in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotIn(List<String> values) {
            addCriterion("picture not in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureBetween(String value1, String value2) {
            addCriterion("picture between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotBetween(String value1, String value2) {
            addCriterion("picture not between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}